<?php
/**
 *  
 *
 * @filesource .php
 * @package 
 * @subpackage 
 * @version $id: 0.1, utf8, $
 * @author LD King <kldscs[at]gmail.com>
 * @copyright Copyleft (D.) 2007 - 2010 MiFunny China Inc.
 * @link http://mifunny.info/
 * @example 
 *   
 */
require_once '_dbtable.class.php';
$GLOBALS['__configs']['database']['mysl'] = array(

            //数据库驱动, 参见 http://www.php.net/manual/en/pdo.drivers.php
		    'driver' => 'mysql',
		    'dsn' => 'mysql:dbname=test;host=localhost;port=3306',
		    'username' => 'mifunny', 
		    'password' => 'mifunny',
            'boost' => array(
                'SET NAMES utf8 COLLATE utf8_general_ci;',
                ), //连接既执行的一些SQL
		    //额外选项, 参见 http://www.php.net/manual/en/pdo.setattribute.php
    	    'options' => array( 
			    'ATTR_PERSISTENT' => FALSE, //是否使用长连接 	
		        'MYSQL_ATTR_USE_BUFFERED_QUERY' => TRUE,
  			    ),

    );

$tt = new _dbtable( 'test001'  );
var_dump( $tt->fetchRow() );






